#include "logo.h"

char *listp(void)
{
     int i =0;
     int p =0;
     char *ans;
     char *list;
     char listStr[MAXVALUE] ="\0";
     char ansStr[MAXVALUE] ="\0";

     ans =ansStr;
     list =listStr;
     strcpy(list,getValue());
     strcpy(ans,"FALSE");
     while (i<strlen(list))
     {
           if (list[i] =='[')
           {
              p++;
           }else if (list[i] ==']')
           {
              p--;
           }
           i++;
     }
     if (!p)
     {
        strcpy(ans,"TRUE");
     }
     return ans;
}
